
#include "os.h"

#define SYS     0
#define DEBUG   1
#define ERROR   2
#define WARNING 3
#define MSG     4
#define LOG     5

int js_vprint(int level, const char *mod, const char *fmt, va_list ap);

int js_log(const char *mod, const char *fmt, ...);
int js_sys(const char *mod, const char *fmt, ...);

